﻿<UserControl x:Class="DIST.LR.ZHJG.Controls.Chart.ucHorizontalGaugeNew"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"         
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    MinHeight="55" MinWidth="350" MaxHeight="80" MaxWidth="450" >
    
    <Grid x:Name="LayoutRoot" Background="Transparent" Height="55" >
        <telerik:RadHorizontalLinearGauge  telerik:StyleManager.Theme="Metro" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <!--<telerik:LinearScale Min="0" Max="90"
                                         MajorTicks="1" 
                                         MiddleTicks="1"
                                         MinorTicks="1"
                                         RelativeX="0" RelativeY="0.2" />-->
            <telerik:LinearScale Min="0" Max="10000"
                                         LabelLocation="Inside" 
                                         MajorTickLocation="Inside" 
                                         MiddleTickLocation="Inside" 
                                         MinorTickLocation="Inside"
                                         RelativeX="0" RelativeY="0.2">
                <telerik:LinearScale.Indicators>
                    <telerik:BarIndicator x:Name="bar1" Value="8000" StrokeThickness="0" StartWidth="0.2" IsAnimated="True"/>
                </telerik:LinearScale.Indicators>
                <telerik:LinearScale.CustomItems>
                    <Border telerik:ScaleObject.Value="30"   />
                </telerik:LinearScale.CustomItems>
            </telerik:LinearScale>
        </telerik:RadHorizontalLinearGauge>

    </Grid>
</UserControl>
